package com.calm.editor.servlet;

public class Result<T> {
	public static final int STATUS_NORMAL = 0;
	public static final int STATUS_ERROR = 1;
	public static final int STATUS_WARNING = 2;
	private Integer status = STATUS_NORMAL;
	private String message;
	private String event;
	private T data;

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}
}
